home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1999 November / cd joystick no109 novembre 1999.iso / Data / sharewares / utilitaires / XQXSET50.ZIP / _SETUP.1 / XQ WinNT RAS Options 2.xpl < prev    next >
Text File  |  1999-05-13  |  1KB  |  50 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Network\RAS & DUN"
  5. "NAME"="RAS/DUN Passwords"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Disable saving RAS/DUN Passwords"
  8. "DESCRIPTION 1"="The Windows Dial-Up Networking (DUN) program allows you to save a user name and password for each dial-up connection."
  9. "DESCRIPTION 2"="While this is convenient, it can be very insecure if your PC or Laptop ever gets stolen!"
  10. "DESCRIPTION 3"="By enabling this option, DUN will forgot every password that was saved and will not allow any user to save the password."
  11. "AUTHOR"="Xteq Systems"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  14. "COMMENT 2"="Version 1.2" 
  15.  
  16.  
  17.  
  18. sPath="HKLM\SYSTEM\CurrentControlSet\Services\RasMan\Parameters\DisableSavePassword"
  19. Sub Plugin_Initialize 
  20.  if GetWinVer<>2 then
  21.   Disable
  22.  else
  23.  
  24.   i=RegReadValue(sPath)
  25.   if i=1 then
  26.    Call SetUIElement(1,true) 
  27.   end if  
  28.  
  29.  end if
  30. End Sub
  31.  
  32. Sub Plugin_CheckData(ElementIndex)
  33. End Sub
  34.  
  35. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  36.  b=GetUIElement(1)
  37.  if b=true then
  38.   Call RegWriteValue(sPath,1,2) 
  39.  else
  40.   Call RegWriteValue(sPath,0,2) 
  41.  end if
  42. End Sub
  43.  
  44.  
  45. Sub Plugin_Terminate 
  46. End Sub
  47.  
  48.  
  49.  
  50.